﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion

using Weazel.Badger.Vhdl.Types;

namespace Weazel.Badger.Vhdl.Operators
{
  public class BinaryTypeMap
  {
    public Vhdl.Type left;
    public Vhdl.Type right;
    public Vhdl.Type result;

    public BinaryTypeMap(Vhdl.Type left, Vhdl.Type right, Vhdl.Type result)
    {
      this.left = left;
      this.right = right;
      this.result = result;
    }

    public override string ToString()
    {
      return string.Format("left({0}) right({1}) -> ({2})", left, right, result);
    }

  }
}
